﻿@model IEnumerable<HelloMinasan.Domain.Song>
@if (Model.Any())
{
    foreach (var item in Model)
    {
    <a href="@Url.Content("~/Song/Songs/")@item.Id">
        <div class="relativeSongDivContainer">
            <div class="imageLeftRelativeSongs">
                <img src="@Url.Content("~/Content/Images/song.png")" width="30" height="30"/>
            </div>
            <div class="starScore">@item.LikeTime</div>
            <div class="titleSongName">
                @item.SongName
            </div>
            <div>
                Posted date: @item.PostedDate.ToShortDateString()
                <br />
                Composer: @item.Composer - Singer: @item.Singer
            </div>
        </div>
    </a>
    }
    <div align="right">
        <a href="@Url.Content("~/UserManagement/MySong/")@Model.First().User.Username">See all @Model.First().User.Username 's songs</a>
    </div>
}
else
{
    <div align="center">This user has no remain song.</div>
}